 <!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">


<!-- Mirrored from www.zi-han.net/theme/hplus/table_basic.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:01 GMT -->
<head>

    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>


    <title>厚合尚品商城管理后台</title>

    <link rel="shortcut icon" href="favicon.ico"/> 
    <link rel="stylesheet" href="mng/css/bootstrap.min14ed.css?v=3.3.6" th:href="@{/mng/css/bootstrap.min14ed.css?v=3.3.6}" />
    <link rel="stylesheet" href="mng/css/font-awesome.min93e3.css?v=4.4.0" th:href="@{/mng/css/font-awesome.min93e3.css?v=4.4.0}" />
    <link rel="stylesheet" href="mng/css/animate.min.css"  th:href="@{/mng/css/animate.min.css}"/>
    <link rel="stylesheet" href="mng/css/style.min862f.css?v=4.1.0" th:href="@{/mng/css/style.min862f.css?v=4.1.0}" />
    
    <link rel="stylesheet" href="mng/css/plugins/sweetalert/sweetalert.css" th:href="@{/mng/css/plugins/sweetalert/sweetalert.css}"/>  

</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
    	 <div class="row">
            <div class="col-sm-8">
                <div class="ibox float-e-margins">
                    
                    <div class="ibox-content">
                        <form role="form" class="form-inline" th:action="@{/product/addtype}" method="post">
                            <div class="form-group">
                                <label for="exampleInputEmail2" class="sr-only">类别名称</label>
                                <input type="text" placeholder="请输入类别名称" id="exampleInputEmail2" name="typeName" class="form-control" required="required" />
                            </div>
                            <button class="btn btn-white" type="submit">新增</button>
                        </form>
                    </div>
                </div>
            </div>
    	</div>
    	
        <div class="row">
            <div class="col-sm-6">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>类别管理</h5>
                        
                    </div>
                    <div class="ibox-content">

                        <table class="table">
                            <thead>
                                <tr>
                                    <th>#</th>
                                    <th>类别编号</th>
                                    <th>类别名称</th>
                                    <th>操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr th:each="typeInfo,tstat : ${typeList}">
                                	<td th:text="${tstat.count}"></td>
                                    <td th:text="${typeInfo.typeId}"></td>
                                    <td th:text="${typeInfo.typeName}"></td>
                                    <td><a th:href="@{/product/deltype(typeId=${typeInfo.typeId})}"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a></td>
                                </tr>
                            </tbody>
                        </table>

                    </div>
                </div>
            </div>
            
        </div>
        
    </div>
    <script src="mng/js/jquery.min.js?v=2.1.4"></script>
    <script src="mng/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="mng/js/plugins/peity/jquery.peity.min.js"></script>
    <script src="mng/js/content.min.js?v=1.0.0"></script>
    <script src="mng/js/plugins/sweetalert/sweetalert.min.js"></script>
    <script src="mng/js/demo/peity-demo.min.js"></script>

</body>


<!-- Mirrored from www.zi-han.net/theme/hplus/table_basic.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:01 GMT -->
</html>
